﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;

namespace Atosenet
{
    static class InternalTrace
    {
        static InternalTrace()
        {
            Trace.Listeners.Add(new EventLogTraceListener("Atosenet Internal Debug"));
        }

        public static void TraceError(string error, params object[] args)
        {
            Trace.TraceError(error, args);
        }

        public static void TraceError(string error)
        {
            Trace.TraceError(error);
        }

        public static void TraceInformation(string info, params object[] args)
        {
            Trace.TraceInformation(info, args);
        }

        public static void TraceInformation(string info)
        {
            Trace.TraceInformation(info);
        }

        public static void TraceWarning(string warning, params object[] args)
        {
            Trace.TraceWarning(warning, args);
        }

        public static void TraceWarning(string warning)
        {
            Trace.TraceWarning(warning);
        }
    }
}
